<AdminTpl file="Common/Head"/>
<body class="J_scroll_fixed">
    <div class="wrap J_check_wrap">
        <AdminTpl file="Common/Nav"/>
        <form class="J_ajaxForm" action="{:U('Menu/listorders')}" method="post">
            <div class="table_list">
                <table width="100%" cellspacing="0">
                    <thead>
                        <tr>
                            <th width="40">排序</th>      
                            <th width="90">{:L('name')}</th> 
                            <th align="left">{:L('description')}</th>	
<!--                            <th align="left" width="80">{:L('version')}</th>	
                            <th align="left" width="80">{:L('author')}</th>-->
                            <th width="110">操作</th>		
                        </tr>
                    </thead>
                    <tbody>
                    <volist name="list" id="vo" key="k">
                        <tr>
                            <td align="center"><if condition="isset($vo[id])"><input name='listorders[{$vo.id}]' type='text' size='3' value='{$vo.listorder}' class='input-text-c'><else/>0</if></td>     
                        <td align="center">{$vo['pay_name']}</td>    
                        <td class="pay_desc">{$vo['pay_desc']}</td>		 
<!--                            <td>{$vo['version']}</td>
                        <td>{$vo['author']}</td>-->
                        <td align="center">
                        <if condition="$vo['id']">
<!--                            <if condition="$vo['status']">
                                <a href="{:U('Payment/status',array(id=>$vo['id'],status=>0))}">
                                    <font color="red">关闭</font></a> <else/>  
                                    <a href="{:U('Payment/status',array(id=>$vo['id'],status=>1))}">
                                        <font color="green">开启</font></a> 
                            </if> | -->
                            <a href="{:U('Payment/edit',array(id=>$vo['id']))}">{:L('config')}</a>
                            <else/>
                        </if>
                        </td>      		
                        </tr> 

                    </volist>
                    </tbody>       
                </table>
                <div class="p10"><div class="pages"> {$Page} </div> </div>
            </div><!--
            <div class="btn_wrap">
              <div class="btn_wrap_pd">             
                <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
              </div>
            </div>-->
        </form>
    </div>
    <script src="__COMMON__/js/common.js?v"></script>
</body>
</html>